From: Benjamin Otte Date: Fri, 10 Jun 2022 02:02:30 +0000 (+0200) Subject: inspector: Use inscriptions for the rendernodes list X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~81^2^2~132^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=303bc3bb1bd8a78da82cfed864e851fdede3429b;p=gtk4.git inspector: Use inscriptions for the rendernodes list --- diff --git a/gtk/inspector/recorder.c b/gtk/inspector/recorder.c index 43409cb81f..05078eb71b 100644 --- a/gtk/inspector/recorder.c +++ b/gtk/inspector/recorder.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -401,7 +402,8 @@ setup_widget_for_render_node (GtkSignalListItemFactory *factory, gtk_box_append (GTK_BOX (box), child); /* name */ - child = gtk_label_new (NULL); + child = gtk_inscription_new (NULL); + gtk_widget_set_hexpand (child, TRUE); gtk_box_append (GTK_BOX (box), child); } @@ -431,7 +433,7 @@ bind_widget_for_render_node (GtkSignalListItemFactory *factory, /* name */ name = node_name (node); child = gtk_widget_get_last_child (box); - gtk_label_set_label (GTK_LABEL (child), name); + gtk_inscription_set_text (GTK_INSCRIPTION (child), name); g_free (name); g_object_unref (paintable);